package com.onion.auth.support.vo;

/**
 * 身份认证信息
 */
public class DefaultAuthenticationInfo implements AuthenticationInfo<Long>{

    private String token;
    private AuthUser<Long> authUser;

    @Override
    public Object getPrincipal() {
        return this.token;
    }

    @Override
    public AuthUser<Long> getAuthUser() {
        return authUser;
    }

}